package xyz.lisys.domain.pojo;

import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class ValidFoo {

    @Size(min = 3, max = 20, message = "长度验证失败，需要保证在3-20字符之间")
    private String name;
}
